PP is notorious for this, Vientiane or Savannakhet always better choices but I believe they became much stricter with checking wether or not you have the right visa for your stay in TH
Google : onward ticket. This caters for the matter that you might be asked for a ticket out of Thailand, either by the airline or immigration. The first more likely, asked at check in.