Some noncreature permanents, such as Grand Master of Flowers, become creatures because of a static ability they have. If Ray of Frost becomes attached to such a creature and that creature is red or becomes red, that permanent will remain a creature even though it loses the ability that is making it a creature after that ability applies.