It has been said that the sun is a stargate, maybe they are shooting to prevent ships from coming out of it. A hot stargate, one you need to move out of fast. So they could be protecting us or something.