Rotating a bezier path
No idea why they behave this differently. But you could try parenting you curve to your object by selecting the curve first then the object (with Shift held down) and hitting Ctrl+P on the keyboard. Then you can animate your cylinder object and the curve will follow automatically.