Why do some girls reject your advances when you show interest - and then when they see you moved on to another gir, they start giving attitude & making comments like they're mad/salty about it?

For example : " Go ask the girl you were with last week" " Why didn't you bring your girlfriend today?"