All mobiles are wireless devices transmit and receive electromagnetic waves. These electromagnetic waves can induce current and generate an electric spark in metal conductors. This can be hazardous near a petrol pump. This is why mobile phones are recommended to be switched off in petrol pumps.