Cotopaxi, a volcano not far from the Ecuadorean capital of Quito, spewed ash several times, sending large gray puffs 3 miles into the sky, officials said.