He was simply trying to strike back at Haley for her comments about age-based competency tests for politicians. He was trying to imply that she is over-the-hill, too... at age 51. (Since he is 56 I wonder why he is such a dolt, but I digress.)