That reminds me of the "deviance in the dark" psychology experiment - they were describing similar effects, sometimes even more personal, like strangers hugging, touching or even kissing if I remember correctly. I learned about this from this comic: https://www.stuartmcmillen.com/comic/deviance-in-the-dark