The most common reason to position a traffic light horizontally is clearance. Sometimes, positioning a traffic light vertically wouldn't allow for enough clearance underneath for tall vehicles to pass underneath. In this case, it makes sense for the light to be hung horizontally.