Obviously the pour and the increased surface exposure to air means the beer goes flat quickly in a glass, but chemical residue on the glass, from washing detergents or previous beverages will also cause this. A glass that has been used for milk should never again be used for beer, no matter how it has been washed.