Electromagnetic Origin of Quantum Theory door