If there is no mass for the light, it should penetrate. But light is not penetrating through solid medium. If the speed of light is constant there is some work should be done to maintain the speed. Einstein said that the light is curved because of Sun's gravity, to bend that also work has to be done. Maybe the black hole is completely dark solid matter that's why the light was unable to penetrate?
This question is in my mind for years please explain