Yes in some brands of gummy bears they do contain pork.
The gelatin that gummy bears is made from comes from the boiling of bones of animals including cows, pigs etc.
Mostly though the gummy bears use gelatin from pork bones but bovine is mostly used in the places such as Turkey where they don't eat pork.
So your gummy bears could contain either pork or bovine.
But it's the protein that is extracted from the animals bones and not the actual meat itself.
Any types of gelatin candy are made from the protein of animal bones after the meat is stripped off the bones and then the bones go through a boiling process which releases the protein that is then extracted to make the gelatin.
The same is true about the food Jello.