The owners manual says:
When Model X detects a low ceiling (for example, in a garage), it opens the falcon wing doors (and trunk) to a lower height, even if no obstacle is detected. You can override this height and open the doors higher by touching the associated door icon on the touchscreen...