Because he wants to be liked, above all. He has no core convictions beyond this. Therefore, if you manage to find/get yourself in a position where Trump feels that your opposition hasn’t been sufficiently obsequious, he’ll turn to your side on a dime and get his petty validation from you instead.