No physical reason, as far as the box is concerned. It's just that Ford determined that where it is now is one of the coolest spots in the engine compartment.
The wheel wells, and even the front of the engine sometimes (in the direct air flow from the fan) are cool spots as long as they're not close to things like the exhaust manifolds.
If you have a favorite spot on the firewall though, I would just use it and see how it works. If you have not chosen your spot yet though, I would drive it extensively as you can, then check temperatures at various spots you like. Just in case one is cooler than the others.
We know how hot the floor pan and firewall feel to our feet when there is no carpet, but that does not necessarily mean it's bad for the box. But when in doubt, "cooler is always better" when it comes to ignition modules. Since they even create their own heat, it's best to keep them as cool as possible.
When I tested mine before I did a Duraspark conversion, even though I knew where Ford put it, I tested a bunch of different spots and found pretty much that they'd nailed it for coolest place in the engine compartment on a hot day.
I ended up mounting mine to the leading edge of the wheel well though, where my old wiper/washer reservoir used to be. It was roughly the same temperature as the top of the wheel house, so i was not worried.
Never had a problem.
Paul