(And yes we're all just human and such and such but we've got social contracts around maintaining a decorum so what you feel doesn't have to be openly expressed)
I think it's more like, damn life is lonely and I have a hard time finding a partner. I'm not in school anymore and I don't meet anyone else.
From what I've gathered people who create these kinds of relationships at work don't have much of a life outside of work. That narrative makes sense for the founder role, you'd constantly be working and obsessing about the success of your company. It also makes sense as a startup employee, you put in serious time and energy when a company begins.
If you don't have friends or social functions outside of "going to work" I guess it's inevitable that you'll date a coworker.
This is a really _really_ grey area since it's nice to work with people you enjoy interacting with, so that does seem like a valid hiring motive, but it's unacceptable to filter potential hires by people you'd enjoy going on a date with.
Basically, in summary, it's pretty hellishly complicated and if you can avoid workplace romance you'll probably be happier for it.