Can anyone explain this to me?

Sort:
mushy1002

I was playing against the bot and it’s happened a few times where I am “forked” but when I try to take the forking piece it says it’s an illegal movein this case black Cant take the white bishop with the queen and I just cannot find a reason as to why it’s not allowed