Here's why:
* Languages are proper nouns: They are specific names of things, just like names of people or places.
* Consistency with other languages: We capitalize the names of other languages too, such as English, French, German, etc.
Example:
* "I am learning Spanish."
However, if you are referring to people from Spain, you would use lowercase:
* "I met some Spanish people on vacation."