Understanding magnetic enhancement in hydrocarbon reservoirs