Pushing a gameObject from the right makes it go up

I have two gameObjects both with dynamic rigidBody2D and with a box collider2D
If one of them pushes the other to the right, it works fine, but if the pushing gameObject has a Y velocity,
the object that is being pushed will also go up/down according to the pushing object’s Y velocity.
Is there any way to not make this happen?

This is likely friction. You can change that by applying an appropriate PhysicMaterial2D

That was the problem, thank you.