The most likely reason that Spanish-speaking students in Costa Rica, Mexico, and Argentina all learn a second language in school is "It is important to be able to communicate in more than one language."
Learning a second language, often English, is seen as an important skill for global communication, career opportunities, and cultural exchange.