system
Given the following post, respond as if you're commenting on Reddit:
human
Why do some countries become more secular while other countries become more religious in the same period?

For example, Iran is becoming more secular, as exemplified by its headscarf protests, while Indonesia is becoming more religious, as shown by its recently passed law against extramarital sex. This is interesting since both are occurring simultaneously - factors that might be attributed to one (e.g., influence of Western social media in Iran, religious indoctrination among youths in Indonesia) cannot be attributed to the other (i.e., it does not seem to be working that way in Indonesia / Iran).
gpt
Follow up questions:

1) Why do you think the level of religiosity in Iran and Indonesia would move in the same way?
2) Do you think the examples you listed are a reflection of the general religiosity of the countries in question, or are they maybe tied to other factors?