Is it OK to only invite one of three co-authors of a previous joint paper to do another joint paper?
It is absolutely fine to not work with A and C as long as


all the work and ideas in your paper are yours (and B's).
your preferences on who to work with are based on academic and research skills, Making decisions based on their race, gender, ethnicity, nationality, etc. is discriminatory and hence unacceptable.


I feel it is dishonest to add A and C to the list of authors in your paper just to keep them happy.