Why do old guys tell me I"m pretty / beautiful but never try to get with me?

I'm 26 and I have noticed that young guys never ever talk to me at all. they either act like they don't see me or aren't interested. Old guys in their 40s-50s would call me "hello beautiful" or tell me I'm very pretty , talk to me a lot but they will never hit on me or pursue me. So far, only 1 old man has pursued me but he was a pervert. Vast majority of old guys dont crush on me like the younger guys. They talk to me but young guys never talk to me.

Updates
1 y
could it be becasue they see me as too young for them?
Why do old guys tell me I"m pretty / beautiful but never try to get with me?
Post Opinion