That was his answer to a loaded question by a reporter asking him if she wasn't his daughter, is she the kind of woman he would date. His possible answers to this loaded question--"No, that's disgusting!" implying he doesn't think his daughter is beautiful. "Yes, she's a beautiful girl", implying he's a pervert because he wants to date his daughter. The best answer would have been, "What kind of question is that? Do you routinely think about me with my daughter you sick f*ck?!" That answer would never have aired.
POTUS is a master at trolling. Ask a creepy question, get a creepy troll answer.