Trump’s stance on Gaza shifted after Israel’s attack on Qatar — a close ally where he and his family have key business deals.