I have told is when you're in fasting or after your fast, you shouldn't eat something like that. You should go with vegetables and soup instead.
But there really is oil when you extracted it from the pork. CMIIW, it's coming from its belly and you can use that to fry as an alternative to the normal oil we use.
when fasting. your body is not ingesting/consuming glucose(sugars) so it burning off your bodies fat for energy.
if you are a thin person. after fasting you need to replenish your fats, because if you get too thin your body at the next fasting will start burning protein(muscles) into energy
if you are obese. then having sugary stuff but in moderation spread out over the day means your body just uses what you consume and doesnt refill your body fats. meaning you can lose weight
just dont go to excess in both cases. meaning if you skip 2 meals dont then binge eat 5 meals after fasting