But a commercial aircraft would reply, would it not? They communicate with the transponders aboard aircraft, so if the transponder was on, it would respond to such an interrogation. Encountering SAMs cannot be a strange occurrence to commerical aircraft, I would guess the plane was interrogated by other Ukrainian air defense systems as it passed over the country.
If it did not have information on any commercial flights approaching, then that raises the question of why it fired on this particular flight. It cannot have been the first that passed over the area.