The bend modifier bends an object around the Z axis of the modifier. If you want to bend the object into another direction just rotate the bend modifier.
angle= 90°
Properties