If you want a Gradient to transform with an object, you must toggle on this option using the icon (Image removed from quote.) that is in the Tool Controls when the Select Tool is in use.