Allah ordered them to strike the corpse with a part of the cow that had been slaughtered.
Through this story, Allah does not want to amuse us but to educate us.
When they had struck the dead man with a part of the dead cow, the man stood up and told them that his nephew was the one who had killed him. Then, he died again for the second time. Thus, Allah U says:
﴾كَذَلِكَ يُحْيِ اللَّهُ الْمَوْتَى وَيُرِيكُمْ آيَاتِهِ لَعَلَّكُمْ تَعْقِلُونَ﴿ “Thus, does Allah bring the dead to life, and He shows you His signs that you might reason.”
This means that He shows you things which are extraordinary so that you will think.
The Holy Qur’an addresses the intellect. Our religion is also a religion of intellect and knowledge. This is a scientific interpretation, as Allah The Most High did not ask us to believe by force. Rather, he gives proofs and evidences for the minds.