It’s ok when they do it
Yup they can do it because dollar is the world’s reserve currency so there is continuous demand for dollars across the globe. Any other country trying to inflate away its debt will eventually hyper inflate its currency.