Tub Spout Stub-out Not Square to Wall
There are a few things you can. Get a rod that fits into the pipe about three to four inches without a lot of play and try to bend the pipe ever so slightly just enough to square it with the tile. You could also file down the part of the spout that hits the wall first and do so until the entire spout seats against the wall. Last but not least, just install it as is and then caulk around it to fill in the gap.