I believe that since the Pope was involving himself in politics (which he is not supposed to do), Trump was reversing the roles and showing himself to be religious. Was it in bad taste? Yes, but it was an attempt to know each other’s place.
Since the Pope is American, does he now have to pay taxes?