Ramadan Mubarak dear brother Joseph

I was reading up on the permissibility of gelatin recently and I came across two opinions from islamic scholars:
1. when bones from halal/ haram (pigs or cows/goats not slaughtered according to islamic law) are boiled to make gelatin, the chemical composition changes and so the new substance should have a new ruling. i.e gelatin from pigs is also halal.
the logic they gave is, grapes are halal but wine is not, but again vinegar from wine is halal.
so halal substances can come from haram substances.
2. I read another article refuting the above logic for permissibility of gelatin, saying that no matter what, gelatin derived from non-halal animals is haram.
so brother can u help me please. I am very confused and where I live many food products contain gelatin. Do you think I should avoid eating things that contain gelatin?
thank you in advance...