The hospital’s halt follows an executive order issued by President Trump banning gender-affirming medical care for minors.