Are you asking if it is part of a judgement for our actions?
I see calamity is in fire t proportion of out interaction with creation and what God has offered, there are many thought gi en on this in the Baha'i Writings on this subject, it really neds to be studied, as no one quote can Cove all thoughts, ut this is one of them;
"In Akká, January 1908, this question was asked of ‘Abdu’l-Bahá: "Are great calamities like this flood, the San Francisco earthquake, etc., caused by the wickedness of the people?" To this He responded: "Events like these happen because of the connection between the parts of the universe, for every small part has connection with every great part, and what affects one affects the other or all others. On account of this connection, the actions of man have effect. Whenever a promise is broken, it causes a commotion. For instance, suppose two nations have a disagreement. It is a difference in ideas only, and not a physical thing, not anything we can touch or see; yet this disagreement has a physical effect. It causes war, and thousands of men are cut in pieces. So, when man breaks his promise to God, in other words when he "violates the Covenant," the effect is physical, and calamities appear."
Daily Lessons Received at Akká' by Helen Goodall & Ella Cooper. Bahá’í Publishing Trust 1979, p. 21-22
Thee is also such advice on sickness and diseases, it is our actions that are not in conformity with God's advice that tips the balance.
There is a lot on this topic to consider.
Regards Tony