This may come as a surprise in light of recent events, but the nation’s airlines did a better job of making customers happy this past year, according to a new study.

The industry scored 75 out of 100 points, a four percent increase, according to the American Customer Satisfaction Index (ACSI) 2017 Travel Report released on Tuesday. Customer satisfaction with American, Delta and Allegiant was up significantly.

Passengers gave the airlines higher marks for on-time arrival, baggage handling, courtesy and helpfulness of the flight crew, loyalty programs, and quality of in-flight food and entertainment. Even seat comfort — a major sore point with many fliers — rated better, up from 67 to 71.

“There are a number of things that the airlines have done to step up their game a bit,” said David VanAmburg, managing director of the ACSI. “This is not a huge change and by no means is flying vastly satisfying relative to lots of other products and services that we use. But generally speaking, U.S. airlines are doing a little better job than a year ago.”

In fact, even with this year’s higher overall score, airlines remain in the bottom third of all the industries tracked by the ACSI. It should be noted that these results are based on interviews conducted during the past 12 months (ending in March of 2017), before that video of United’s violent removal of a passenger from a plane in Chicago went viral.

The percentage of passengers who said they paid a baggage fee increased this year: 57 percent of business and 39 percent of leisure travelers. But passengers “appear to have acclimated to these charges,” the report said. In fact, business travelers who paid a checked baggage fee were some of the most highly satisfied passengers. That could be because they get reimbursed for that expense.

Winners and Losers

Two discount airlines, JetBlue (82) and Southwest (80), lead the pack. Alaska Airlines is close behind at 78.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

JetBlue’s low-cost business model and cabin upgrades appear to be paying off, while Southwest’s pricing policies (that include no hidden fees and no charge for a flight change), continue to be popular, the report noted.

Alaska Airlines, known for its quality service, is in the process of merging with Virgin America. These mergers often cause customer satisfaction problems. But with its score up one percent from last year, Alaska appears to doing a good job with the transition.

American (up six percent) and Delta (up seven percent) both scored a 76, one point above the industry average. That’s a record high for American and the best score for Delta in more than two decades.

While the customer experience on both airlines has improved, these big gains are largely driven by price, VanAmburg told NBC News. American and Delta are now competing with the discount airlines by offering lower-priced basic economy fares.

“You get less service, but you pay less for it. And anytime customers can fly for a cheaper price that’s generally a positive,” he said.

Allegiant showed the most improvement this year. It jumped nine percent to 71. Allegiant’s revenue was up and its passenger traffic increased by 15 percent in the fourth quarter

United, with an ACSI score of 70, was the lowest-rated of the nation’s big three airlines again this year, even though its satisfaction score increased by three percent.

“United is still down there with the ultra-low cost carriers, Frontier and Spirit, which traditionally score very poor in terms of customer satisfaction,” VanAmburg noted. “For many years now, they simply have not had the level of customer service that we’ve seen even for airlines like Delta and American, which have not been particular standouts themselves in terms of the overall experience.”

At the bottom of the list once again: Frontier (63, down five percent) and Spirit (61, down two percent). People who fly Frontier and Spirit tend to have fairly low expectations for service — they simply want to get from here to there for as little as possible. But based on these scores, passengers “apparently don’t appreciate low ticket prices enough as a trade-off for low service quality — particularly as most airlines now also compete on price,” the report noted.

Do U.S. Airlines Really Care About Customer Service?

“Customer satisfaction has never appeared to be a goal for airlines,” ACSI chairman and founder Claes Fornell said in a statement. “Compared to other industries, the financial return on passenger satisfaction is not much of an incentive. The exception is in the few airports where airlines actually compete with one another — or when they treat passengers spectacularly badly in public.”

Kathy Grannis Allen, managing director of communications at the industry trade group Airlines for America, strongly disagrees.

“We’d argue that customer satisfaction is actually an ultimate goal for airlines every day,” Allen told NBC News via email. “The ACSI results validate the fact that airlines have made significant improvements on every aspect of the flying experience that matter the most to their two million daily customers — despite the unique challenges airlines face with an outdated air traffic control system that profoundly affects the customer experience.”

The industry invested approximately $17.5 billion, or more than $20 per passenger, in the product and customer experience last year, Allen wrote. This includes new aircraft, upgraded facilities, expanded flight schedules and better in-flight entertainment.

Consumer advocate Charlie Leocha, chairman and founder of Travelers United, believes passengers have themselves to blame for allowing the airlines to get away with providing poor service.

“Whatever these customer-satisfaction studies say, passengers are their own worst enemies. They will sacrifice service and comfort in order to save a few dollars on airfare and frequent flier miles,” Leocha told NBC News in an email. “In the front of the plane where business travelers are not subjected to the lowest price syndrome, service is getting better and better. The divide between classes on planes has never been more dramatic.”

Herb Weisbaum is The ConsumerMan. Follow him on Facebook and Twitter or visit The ConsumerMan website.