Sex “just happens”

What do people mean by “sex just happens”? For example my friend said she list her virginity to a guy and it just happened. They are not dating. They jut know each other. I’m not judging. Just want to hear other explanations. Like I get it might not be planned or whatever but I’m not understanding how this happens often??? I need a scenario or something lol.