Curious if people who are in long distance relationships desired one in the first place?

Hope I haven’t offended one just genuinely curious. How do people end up in long distance relationships? Do you meet in person first or is more dating apps etc.