I see no reason for the US to subsidize education in Afghanistan (or anything else in Afghanistan).
Education requires a person to teach and some books. If a country’s wages are low, teachers can be hired correspondingly low in cost.
Books can be printed cheaply.
Pencils are cheap.