Those guns are on a spinning turret, and it is facing backwards to lower the amount of saltwater intrusion into the gun barrels and equipment during heavy seas. If the ship was threatened by hostile human forces, that turret would spin a 180, those guns would rise up and the gunner would be directing fire from under that little glass (bulletproof) dome you see on top.