Derogatory messages targeting an African nation surged on X after it imposed a ban on visa issuance for US citizens.