Because any other direction is unnecessary hassle - opening out the back dumps the troops or vehicles into the water, which this whole exercise is supposed to avoid in the first place. Besides, landing craft are not just for combat landings; they're also used to put people, vehicles, and supplies on the beaches afterwards.
u/thefourthmaninaboat explains landing craft design, and has some further thoughts.