I see a possible burnt spot on the upper part of the junction box. Inaspect the wires and see which one was pinched.
The are more problems with that box that need some major attention.
1. Too many wires for the box. It is over filled. A box that small is only big enough for one cable.
2. There is no connector/cable clamp where the cables come into the box.