I really didn't have any ideas. Tree frogs are surprisingly flexible, but that seems extreme. It could be unusually loose joints?

I'd want to make sure the frog got a calcium supplement, even though I don't think the bendiness is caused by bones. If the frog was that deficient I don't think it would be moving so much. The supplement and some source of UVB couldn't hurt though.