For the same reason a lot of universities in Europe require you to take philosophy. It's completely unrelated to C++ or data-structures, but it adds to your acumen as a whole.
Not that different from some universities that require you to be able to swim[0].