Pets tilt their heads to better understand or locate the source of a sound. By tilting their heads, they can adjust the position of their ears to help them pinpoint the direction and distance of the sound more accurately. It's also believed that tilting their heads may help pets see or hear something better due to the change in the angle of their head.