As we know before in back in time. Animals will adapt to their environment that their ancestors didn't have. This animal must have used to have a straight legs but then adapted since it couldn't really move. Then over time it most have started to bend so that way it could move faster. I think that it must have had straight legs because most animals aren't originally the same like humans have tailbones and tails or six fingers. I also feel that it was a analogous structure. Because the squirrel and vertebrate fossil had the similar appearance but are not evolved together and don't have a common ancestor.
(Hope this helps!)