Height Dependence of Gas Flows in an Ellerman Bomb