no color change using drag and drop

Hello, why sometimes it works but sometimes it doesn't? I have tried both dragging to the object directly or to the object in the tree list on the left.

SolidworksGeneral