Airlines have a number of factors to work in when they set the price for their tickets. Demand might be the biggest factor -- you can charge more when more people want to buy seats on your plane than you have spaces to sell -- but it's most certainly not the only one.