Need advice on gear patterns

In actual use the ring gear wants to pull the pinion into it. Kim
I disagree. The gears try to repel each other. That's why you have all those structures to hold them in mesh. Kinda like a Phillips screwdriver in a Phillips head screw head.