Peace to all.
"...laws have many tiers. Some laws are known to man and some other overriding laws also exist but are unknown to man. So, a miracle appears to be a miracle to the ordinary person when he knows only the superficial laws known to people of his time, but he does not know the other set of overriding laws which exist as laws without breaking the other set of laws. An example of this is the law of magnetism prior to its formal conceptualisation.
The laws of magnetism were unknown to the people of some thousand years ago and even people of a few hundred years ago in some parts of the world. They only understood the law of gravity, that the earth must pull everything down to itself. Now if a magnetic field was created about a person who was also wearing a metal which responded to that magnetic field and he was lifted up, the people who did not understand the phenomenon of magnetism would consider it a miracle in the sense that the law is broken, while in reality no law is broken. Gravity is a law of nature and magnetism is also a law of nature and, one law put against the other, follows the overriding principle that whichever acts with greater force would win. But no law had been broken. Similarly, in earlier times many things about chemistry and physics were unknown and people who knew these things in advance of the age would be able to bring about certain tricks through their knowledge.
......
......
The real miracle is that we sometimes observe weak people winning in their confrontation with a powerful group of people. If you were to feed the facts of the situation into a computer, the expectation is that the computer would show that the weaker group will be obliterated and the powerful one will win.
The miracle is this that there is an unseen hand of power, unseen by the people, which is on the side of the weak and, because that hidden hand of power is the strongest, despite the fact that the law is not broken, the weak appear to win. This always happens, without fail, every time when a prophet of God is sent. The true miracle is therefore the victory of the weak over the powerful. The supreme law that ‘the powerful will always win and the weak will always be obliterated’ seems to be reversed in this case but here again, I remind you that the law is not broken. The fact is that the powerful hand of God remains unseen. But the weak ones win not because they are weak and still they win - they win because the Hand of God is with them......."
Source:
https://www.alislam.org/library/links/Miracles-and-the-Law-of-Nature.html