Cycle tyre and tube burst
Since the actual tire has burst, I think the most likely cause is that over the course of the 4000km you have ridden, the tire has suffered a cut or other damage that you did not previously notice.

While sitting in your room, the pressure of the tube has gradually stretched the damaged area, and then burst.

Inspect the other tire to check for cuts or severe wear.