Because you have Red Slime Algae or Cyano which is a common problem with salt water aquarium.It is usually caused by using tap water because tap water has phosphates that feed the algae.The best way to fix it is to ad water filtered by reverse osmosis because it will filter out those phosphates and thus starve the algae.
This condition is caused by or a combination of the following: poor quality of lighting, insufficient nutrients in the aquarium water, low CO2 levels caused by low water flow and poor maintenance routines.