Looks like a botched repair job to me. That is the paint falling off because 1) the rust wasn't eliminated and 2) poor prep work.
You need to get rid of the rust by either getting down to fresh metal, or by cutting it out completely. Only then will you get the paint to stick and not fall back off after a period of time. That's also the reason for the bubbling. Poor prep and insufficient rust removal.