^In addition to the above, different academic fields have different levels of competition for jobs. English or history PhDs really are struggling to find tenure-track positions, because there are far more of them AND there are fewer non-academic job options for them to go instead. But because far fewer people get PhDs in chemical engineering, AND because there are so many non-academic job options for PhDs in chemical engineering, the competition is lower for tenure-track professor jobs. That doesn’t mean they’re easy to get, but they’re certainly less tight than the humanities.
From the looks of it, you’re a high school student, so I would say definitely don’t worry about this now. You can make decisions about whether and when to get a PhD once you get closer to the end of college. You may change your mind about your career goals or you may decide to pursue other things first.