The Ministry of Defence and Armed Forces Logistics is the defence ministry of Iran and part of the country's executive branch. It thus reports to the President of Iran, not to the Commander-in-Chief of the Iranian Armed Forces. From Wikipedia
The sanctions target entities and individuals involved in Iran's drone proliferation, which supports Russia's military efforts in Ukraine.