Why the treasury is buying back its treasury securities during the coronavirus economic crisis? I have read today that the treasury of my home country (not the US) started to buy back a significant amount of its Treasury securities (bonds, notes ...) from their owners. My question is what happens at a microeconomic scale after the Treasury redeems back its treasury securities ? I've actually read that Central Bank along with the Treasury both agreed and decided to do so before starting printing any new money, I wonder thus why? and why this timing in particular? Why do they have to spend money in order to print new money?
The following link was provided: Link to Moroccan news article, in French

My French is somewhat rusty, and I am completely unfamiliar with the structure of the Moroccan financial system. But I think I understood the basic idea.

As a result of the worries around COVID-19, there was added demand for liquidity in the banking system. The Treasury sits on a buffer of cash (presumably sitting at the central bank). What it is doing is using that buffer to purchase back some short maturity bonds. This injects money into the banking system, which can then be used for liquidity management, or to buy newly-issued long-term Treasury bonds.

The central bank could have done this, but since the Treasury presumably had cash reserves, it did the operation.

From a theoretical point of view, it would not matter whether these bond purchases were done by the central bank or the Treasury - in either case, the private sector is exchanging bonds for cash. However, the central bankers might not agree with that assessment, and there may be institutional rules (that I am unaware of) in Morocco that pushed the Treasury to do this.

Generally speaking, in the developed countries, the central bank would handle such an operation, and the Treasury would not get involved. The closest operation I can think of is in Canada, where the Ministry of Finance lends to the private banks out of its balance at the Bank of Canada.