The light beam does not seem to travel on a horizontal path according to the outside observer, rather the light seems to bend down toward the floor (because the floor is accelerating uniformly upward).