Does that thinking mostly come from people in college (where students dating other students exclusively is basically the default) and trying to take it into the workplace?
I think it's natural and commonsensical to think that asking people out on dates in the environment where you spend most of your day is a reasonable, normal thing to do. So it comes from not understanding (or not caring) that most women feel like a vulnerable minority in the workplace.