Baby squirrels may wag their tails as a way of communicating with their mother. The wagging motion can signal hunger or discomfort, and the mother squirrel may respond by providing food or comfort to her young.