I don't think anybody says to Coetzee or Dostoyevsky or Kafka, "Your characters aren't likeable." It's not about your character winning a popularity contest. That's not the writer's job.
There are lots of unlikable characters in literature. It doesn't mean they're not fascinating.
I think about material that could work in the novel or story as I'm writing. I see if I can get there through what's happening with the character. But it's by inclination. It's not "At this moment this will happen." Usually with my characters you can't tell what has induced them to do anything. That's because, from my understanding of reality - which is always subjective - everything is overdetermined.