I often feel embarrassment when I step outside of my comfort zone, whether I’ve done something “right” or “wrong” or even “neutral.”
It sounds like you just did something outside of your normal comfort zone–like you said, it wasn’t romantic–it was just a spontaneous expression of gratitude. Nothing wrong with that! (P.S. the Bible is FILLED with non-romantic kisses, especially familial ones, as that was a very common show of love/gratitude during that era.)
I know you can’t just turn off the feeling, but I think you can give yourself permission to “get over it.”