These shapes are called “ambiguous cylinders” and they change shape depending on your perspective. Rather, your brain perceives them as a different shape depending on the angle of which you are looking at them. For a better visual understanding of how this illusion works, you can check out a video of it.