All my newly created contacts are from Afghanistan
Seems unlikely to be a coincidence.
Must be something recent in 5.31/master with the country dropdown. Can confirm it does not happen in 5.30.
It only happens if you have no default country set at civicrm/admin/setting/localization?reset=1
Simply go to create a contact and expand the address section. Afghanistan is now selected and the country field is required.