The president criticized the former Texas congressman, who on Friday announced he's dropping out of the 2020 presidential race.