Lets say the tennis racket has 2 portals. One in the front and one in the back. When you swing the racket, the front portal moves forwards with some speed V. The portal on the back is moving backwards with the same speed, so -V (same speed V, but in opposite direction). A stationary ball, suspended in mid-air would have 0 speed. The racket portal approaches the ball at speed V, so the ball has a relative speed V to the racket. The portal on the back has a speed of -V and ven you combine that with the ball’s speed of V, we get -V+V=0. And so the ball stays put. The portals in the image are not both in motion. The front portal is approaching the people with a speed of V and so the relative speed of the people to the portal is V. The exit portal has a speed of 0, relative to the people. When the people go through the portal, their speed is 0+V=V, meaning they get launched out the exit portal with the same speed the entrance portal hit them.
Interesting way to look at it, but I still dont see where the force is acting on the object going through the portal. The object is not in motion and will stay in that state unless something acts upon it, so where is the energy coming from to act on the object?
To make it clear from the start: I agree 100% with B - there has to be movement, because without it, people wouldn’t come out of the portal at all. And if there is a movement, then the only reasonable speed would be that of the train.
But: Your question about the energy is still interesting. It must come from somewhere. And I think, the only source, from which it can come, is the train. That is, the train would lose energy and therefore slow down.
The portal moves towards the people. It’s a hole. Momentum won’t transfer from nothing as the hole is the one moving.