Here’s a gif of an Ecomotors opposed piston opposed cylinder engine.

Now, figure out what’s doing what and why.