As you know, most countries in the Persian Gulf have accepted bitcoin and the world of digital currencies, and in addition to oil, which is their most important asset, they can make a large share for themselves by mining bitcoin.

But in a strange move, Iran has closed the payment gateways of all exchange offices that operated in Iran and treated them like swindlers.
also the owners of digital currency mining machines are guilty and will be dealt with severely.
What could be the reason for all this government pressure on people not to mining bitcoins?
Probably they aren't ready for crypto currencies. I mean they don't know much about it. They have no clue how to track it and regulate it. Probably they think bitcoin is "evil" and will be used only for "evil" purposes such as money laundering. Did they put a total ban in your country? I have heard only few countries did that and most of them are poorly developed. Has no advanced technologies and only little education about blockchain.
Sad, your government think the only way to fix it is through putting a ban instead of trying to learn more about it.