Yes, I suspect both. Cannibalism is an efficient way to divert resources to the offspring with the highest chance of survival for some species. But many animals also practice cannibalism only in captivity, and the increased stress and density both seem like they would promote that.
"Nobody knows how much they take to hatch but is probably several years" is just another example of wild bad extrapolation.
Have they found the Megalodon yet?