Answer:
The message (signal) coming from the earth was sent first.
Step-by-step explanation:
The radio messages reach Mars simultaneously, because the distance from Earth to Mars and that of from Mars to Asteroid is same. But the passenger in the spaceship is moving relative to Mars towards Earth and hence, the message from Earth reaches first.
According to passenger frame, the message (signal) coming from the Earth was sent first compared to message coming from Asteroid.