Harry was stripped of his honorary military titles once he stepped down as Senior Royal.
In order to keep the focus on honoring Prince Philip, the Queen has advised all senior male royals to simply wear suits and ties and dispatch with the uniforms.
Andrew had stepped away from royal duties in 2019, after his association with Jeffrey Epstein was made more public. However, his military status was never stripped of him.
The details of Prince Philip‘s funeral were made public a few days ago.