LED 13 turns on unexpected

Ok, you are right, thank you very much. Configuring the pin as an output solves this issue. But why this do not happen by firmware at initial?
Best regards