Secretary Hegseth sought to reduce Kelly's military rank.