Mirror modifier not working properly

Apply the rotation on the object in Object mode (CTRL-A > Apply Rotation)