I know how the first one works. It is the same as the ambiguous cylinder illusion that made the rounds awhile ago, where it looks either like a square or a circle cylinder, and the opposite in the mirror.
Someone took that idea and used a much more complex shape to replicate the illusion. Awesome! Oh wait, not someone, the guy who came up with the original illusion, Kokichi Sugihara, has topped himself!