This would be an example of checks and balances.
The President can fill vacancies that occur but that power is not limitless. Congress, specifically the US Senate, has the power to advise and consent. So, the President cannot circumvent the Senate's advise and consent power with recess appointments.
This allows the country to have valuable staff, even during vacancies, but still requires the Senate's approval.