Is it rude to tell a girl she looks older than her age?

I met a girl who was 21 and told her she looked 27, she got mad at me and left. why?
Is it rude to tell a girl she looks older than her age?
Post Opinion