I just read a book about El Alamein.
Basically Montgomery had 2.5 times the resources and Rommel had no fuel.
All credit to the Allied bravery, but it was far more about logistics and resources than battle strategy and skill.
US combat troops didn't land in North Africa until after the battle of El Alamein.
Rommel was prevented from re-supplying his forces, and Montgomery was able to supply his, because of the British victory in the siege of Malta. By the time of El Alamein, the Luftwaffe in the Mediterranean was spent and British Supermarine Spitfires pretty much roamed at will.