Cylinders and other round structures behave odd depending on your starting topology because the Catmul-Clark algorithm has too much or not enough topology to work with. Be careful when you create or modify a cylinder and use support loops for the end caps.