Are you suggesting that the MOSFETs I'm using could potentially be generating a magnetic field and interfering with the Arduino because they're too close?
Mosfets don't generate magnetic fields because they are semiconductors, not inductors.
The cap is necessary because any circuit driving motors or switching loads generates negative spikes (uSecs duration) that can cause errors in logic circuitry. the caps help eliminate this "noise".