Scientists reveal 30-year secret of huge X-ray flares of black holes