It is illegal in USA for Meta to pay fines to Iran government.
The government is blocking at network level anyway.
The app provider should detect the network outage and provide a good UI, not proactively block users who aren't using the affected network at all.