A camel does not step over fences. It cannot do this on its own or with the player sitting on it. On previous beta versions, he could step over the fence on his own, but could not do this with the player on himself.
Expected result: the camel can step over the fence on its own and when the player is sitting on it
Similar to MC-256463 (as of fixed in 22w44a), MC-259271 & MCPE-164906. Seems that not Pathfind in any fences