Airlines are allowed to overbook flights because a certain percentage of passengers don't show up for the flight.

I wonder, do the airlines return the fares of those who miss their flight?

Airlines should not be permitted to overbook flights, and they should not be permitted to bump passengers who have paid the fare.