This is something that happened to me and I felt really weird after it happened. It’s just natural to wish someone to have a nice day if they do that to you, but knowing that this guy was most likely sleeping in a less than comfortable place later that day I felt like wishing him a nice day could’ve been perceived as a slap in the face. Maybe I was thinking about it too much, but it was something on my mind for a little while afterwards.