The government doesn't want you to smile in your photo for one simple reason: facial recognition. A smile in a passport photo distorts your facial features and makes it almost impossible to match you to the document, especially when done by a computer.