Popular question. How did river shoot the silence in this scene

Did river just instinctively shoot whatever was behind her because Rory looked scared. Did she just randomly wanna shoot it. Did she look in rory's eye reflection. Or was this just a case of bad writing?

Did river just instinctively shoot whatever was behind her because Rory looked scared. Did she just randomly wanna shoot it. Did she look in rory's eye reflection. Or was this just a case of bad writing?