At least 24 people were killed and nearly 100 wounded when a car bomb exploded in an Afghan city south of the capital that President Ashraf Ghani blamed on the Taliban.