Block conflicts

Hello,
I have two internal networks A,B and three external ones X,Y,Z
I want to block from A to B but allow from B to A when I made the first rule I noticed that network B also can not connect network A.
I tracked connections and noticed that is a (syn sent) between network A and B
how to solve this please…