The Secret Service moved him there.
https://en.wikipedia.org/wiki/George_Floyd_protests_in_Washington,_D.C.#May_29
The White House was on lockdown the night of May 29 in response to protests reaching the gates.[2] The protests began at 7:00 p.m. By 8:30 p.m., the White House lockdown was lifted as protesters began to leave. At 10:00 p.m., the protesters returned, however by 3:30 am Saturday the protesters were more subdued. The protesters came into conflict with the United States Secret Service. At one point the protesters were pepper sprayed.[3] Protesters reportedly threw "bricks, rocks, bottles, fireworks and other items"[4] as well as "rocks, urine and alcohol"[5] at Secret Service agents injuring over 60 of them, including 11 hospitalized and treated for non-life-threatening injuries.[6]
As a result of the protests, the Secret Service rushed President Donald Trump to shelter in the White House underground bunker, where he remained for almost one hour.[7][8] This occurred after some protesters crossed temporary barricades set up near the Treasury Department buildings. Around that time, the Secret Service alert level was raised to "red". The president's wife and son were also brought to the bunker.[9] Trump later falsely claimed that he had only gone to the bunker for an "inspection", and also claimed that he was in the bunker "for a tiny, little short period of time".[10][11] Attorney General William Barr later stated that the May 29 protests "were so bad that the Secret Service recommended that the President go down to the bunker".[12]