It’s usually called an anamorphic cup or an optical illusion cup. If the design uses layered graphics to make the image seem 3D from different angles, people may also call it a 3D lenticular cup.