why the state does not always make money, because if a country is printing too much money, the value of that currency will go down so it will cause more problems, that's why they prefer to owe rather than make money
Actually they do print a lot of money. The money gets created in the form of credit that is issued by banks. And this is the root cause behind financial crashes we experienced and will experience. It is actually infeasible to describe it all in a short post, you should research it yourself (a good starting point would be searching for "Introduction to Austrian Economics" on youtube)
Central banks always print money but with good calculation. If central banks print money without good calculation, its affecting on our economic. Inflation rate will be rising and goods price will jump.