As others have mentioned, this is because unlike developers few companies hire PMs straight out of college. As a current PM, I'm actually fairly bearish about the sustainability of this role as far as a long-term career outlook goes. It's an extremely nebulous role, hard to prove your value, wildly differs from company to company, and most of your time will probably not look anything like what is considered textbook "product management."