Cats climb trees to avoid dogs