The frosting needs remarkably little to make a bear. Eyes, a nose and rounded features can turn a cake into a face, while a candle and a smiling character complete the birthday scene. The trick is not hidden in the icing alone. Much of it happens in the mind of the viewer.
Arrangement does more work than detail. The brain is sensitive to the configuration of facial features, a capacity known as configural processing: two eyes above a nose and mouth suggest a face even when the materials are frosting rather than flesh. This tendency can produce face pareidolia, the perception of faces in objects that have none. The bear on the cake is deliberately designed, so it is not simply an accidental case of pareidolia. Yet it draws on a similar readiness to interpret a few marks as a face.
Recognition is less a photograph than a negotiation. Visual information reaches brain regions involved in processing shape and faces, including the fusiform face area, while context helps guide what the viewer makes of it. Rounded ears can shift the interpretation from a generic face toward a bear; the candle and surrounding illustration make a birthday cake, rather than an animal, the obvious setting. None of this requires the cake to be mistaken for a living creature. It only asks the eye to accept a likeness. Between the candle and the plate, a few shapes become a face that can smile without ever moving.