@Steve **********
it’s not always the case, but seems to depend on location of origin and the airline. I was denied leaving LAX last year by Qatar airways, and several people on same flight. Had to buy on the spot.
It’s wise to do as you are and at least be prepared with proof of onward travel just in case.
I only fly one way tickets, but sometimes you run into a problem. It’s rare though