Those T shaped doorways have really bothered archeologists. Do they have a religious significance? Do they have some functional purpose, like making it easier for a person with a pack to get in and out? Notice the posts protruding from the wall. They are the floor of the room inside and would have been made into a balcony on the outside.