Why do airlines need government intervention to tell the truth

I have been unable to understand why airlines do not like telling its prospective customers the total price inclusive of all charges as well as the break-up. Why don’t they disclose the total amount the customer has to pay? What will they gain by hiding the correct amount or the break-up details that the customer has to pay?