Your earphone has fallen off
In some cases it can be repaired.
If you are OK with using a soldering iron, it is possible to repair it as follows: