It is for safety
The reason Cubs, Champs, and the like are shut down with the mag switch is that their Stromberg carbs have no mixture control. The few carbs that have a mixture control (Cessna 140) do not have an idle cutoff position, in other words, the mixture can be leaned for altitude but not leaned enough to kill the engine on the ground.
The proper technique is (1) switch the mags off and (2) simultaneously open the thottle wide. The wide open throttle eliminates the suction in the carburetor throat so that fuel is not sucked through the idle passage. The engine induction system and cylinders therefore fill with plain air and not air/fuel as the engine spins down.
You can't do this with a larger engine because they have a carburetor equipped with an accelerator pump. The accelerator pump shoots fuel into the carburetor throat when the throttle is opened, thereby negating the reason for the whole process, which is to fill the cylinders with plain, non-combustible air.
You don't need a hot mag to fire a hot engine. Simply moving the prop can be enough to set off a combustible charge in a cylinder. I have seen this happen twice. Each time a pilot was moving the propeller on a hot engine. The mags were not "hot". Each pilot (both experienced) got away uninjured but shaken. They each had suddenly found themselves standing right next to a spinning propeller. One guy flattened his back against a hangar door while the engine coughed and farted right in front of him!
Some engines, when hot, will start firing while being cranked even though the mags are off and the mixture is still in idle cut-off. This was very common on a DC-3 I used to fly. Broken p-lead not required. There was enough residual heat in the engine and enough residual fuel in the induction system to start it running just by cranking, although usually not enough fuel to allow the engine to accelerate. But plenty of energy to kill you if you moved that propeller on the ground and got in the way. I have heard that hot engines can "cook off" on the ground, in other words, the prop can move all by itself after the engine has been shut down. That I have never seen, but I believe it could happen.