Toshi, the gun in the side is a cannon, set up that way so the fighter could fly below the B-29's and fire up at them from below. The B-29's in the early missions were flying higher than the Japanese fighters could easily climb so any advantage to be taken was necessary. Later the B-29's bombed at night from lower levels because accuracy was not good enough from the high altitudes.