The secret behind the formation of a black hole