war time or not, U.S warships would shoot down any spy bird flying over them, the same thing is true for our warships, if you don't know this simple rule, then you are humiliating your knowledge of military rules.
I'm sorry to ruin your imaginary innocent view, this is reality: (killing fishermen at the UAE coast)
Indian fisherman killed in U.S. firing - The Hindu
the only reason your warships don't fire at our boats is because these are Iranian patrol boats, it's their job to get info from any closing ship or warship, and your commanders know what would happen to them if they fire at us,
we are not like the Pakistanis letting you to kill civilian and just send some objections.