When things aren’t going well at work due to some kind of conflict, it’s likely that you start looking for another position. So although the timing isn’t to your liking, there was mutual recognition that a change needed to happen. And this is how you should think about it. Nick Corcodillos wrote an article on how to finesse this conversation in an interview. He helps you work your verbiage so that you are being truthful but also do a good job of explaining both sides of the situation.
Tip from me: practice your body language as well before having this interview conversation!