So why are they doing this? There are several potential explanations for their behaviour.
One may be that ants, insects that navigate by detecting the Earth’s magnetic field, have had their navigation systems knocked out by the ringing phone.
Or, it may be the vibrations of the phone that are exciting them. Or, it may have something to do with the ringing itself.
Read more at IFL Science