Calories burnt- MFP or machine?

When you are doing cardio on a machine at the gym that has you input your weight in before you start, why are the calories burned so different from what MFP calculates and which do you trust more? I always go by the machine