This isn’t anywhere close to being an Islamic thing tbh. The Persians and Ottomans loved historical and foreign stuff, the Taliban is just a bunch of ignorant goat herders. Afghanistan has never had a tradition of scholarship and academia so it’s no surprise that a lot of people there don’t care about their history.
Tbf, that’s probably because most CS majors at T20 schools get a math minor as well because of the obscene amount of math they have to take.