Maybe it was two people having an argument and one was like sarcastic like "good morning! are we here on planet earth today?"

Could be.
I have a huge tendancy to greet with the wrong time of day. I do it constantly all day every day. People really get on my case about it. I don't do it on purpose.