Step-by-step explanation:
When a bullet is fired from a rifle, the actual firing makes a distinctive sound, but people at a distance may hear a second because the bullet creates a shock wave , a little sonic boom( speed of this sonic boom is greater than the speed of sound). It is this sound only that is heard by the people at a distance from the gun.