When magnesium is burnt, it reacts with oxygen and gives bright flames. This is a chemical change and cannot be reversed.
When iron is heated strongly, it turns red. When heating is stopped, it cools and gets backs to its original form. So this is a physical change. Hence option B is correct.