That object is probably composed of "meat byproducts" ... when fried, it exudes liquids which gel to form that purple bubbly stuff. It's probably not "spoiled" in the sense of bacterial decomposition ... it's just not fit for human consumption in the first place.