The US has Al Udeid Air Base as the staging point for the middle east and Africa. While not US controlled the Hamad Port is also available. Best to have a partner in the area rather than trying to obtain one in an emergency.
We have bases throughout the Middle East (and elsewhere) where we don’t make security pledges.
And this isn’t even a treaty, but a one-sided commitment.