But he had to fir it on a wrong direction in order to mislead the whole family bcoz after hearing the gun shot whole family will be coming to see..Maybe kabir fired the gunshots to make everyone shocked which gives time to Rid to flee. Hence why vansh had a gun on him too, to see who was using a gun.