If you say that something is a trick of the light, you mean that what you are seeing is an effect caused by the way that the light falls on things, and does not really exist in the way that it appears. Her head appears to be on fire but that is only a trick of the light.