That’s not quite right - they don’t have to believe that they’re undervalued rather that they are at least fairly valued.
Share buybacks aren’t a stupid idea for Airlines either. If they have too much cash on the balance sheet better to return cash to shareholders as a one off in a tax efficient way rather than pay a regular dividend that they have to cut when the economy turns down.