Sounds like rude behavior to me.
Such things are more common with closeted men even more so in oppressive to gay people societies.
But some might be flattered.
I'm assuming nothing further happened or you would have told us, so ultimately harmless, yes?