Push pull glitch

Can someone explain why we get this issue when editing a component. When I edit the component when it is up against another component, it messes up the face. Turns it black and creates an extra face?? But when I move it away and do the same actions, it does what I want.

Are we doing something wrong?

Thanks

You need to share the file so we can see what causes the issue.