Another factor is the increasing focus on work from home, and remote learning.
The less “forced” in-person interaction you have with a wide range of people, the less practice you get in developing the social skills that would be useful in navigating relationships later in life.