Not able to apply the most simple screw modifier possible
The axis of the screw modifier is set to Y in the first example, but it’s set to Z in the second example. Change this, and everything should be fine.