The APU consumes less fuel because it doesn't have to contribute thrust to the airframe.
Many APUs have the same generator capacity as a propulsion engine. But they don't produce thrust. They can run at an optimum RPM for the generator requirements.
A320
APU
Ground operations: 130 kg/hour 90 kVA
FL200: 65
FL300: 51
On a short flight each main engine might consume an average of 1260 kg/hour.