Why do earthquakes happens? Can you explain it to me as if I was five year old. In addition can you explain it to me as if I was an undergraduate in engineering
Sure, I'd be happy to explain earthquakes to you in a way that's easy to understand!

- To a five-year-old:

An earthquake is like when you shake a box of blocks really hard and all the blocks move around and fall down. The Earth is like a big box, and sometimes it shakes too. When the Earth shakes, it can make things fall down, like buildings and trees. The shaking happens because there are big pieces of rock called tectonic plates that are moving around underneath the ground. Sometimes they bump into each other, and that's what causes the shaking.

- To an undergraduate in engineering:

Earthquakes are caused by the movement of tectonic plates. These plates are massive slabs of rock that make up the Earth's crust, and they're constantly moving and shifting. Sometimes, the edges of two plates will get stuck against each other, and pressure will build up as one plate tries to move past the other. Eventually, the pressure becomes too much, and the plates suddenly slip and move, causing an earthquake.

The point where the two plates are stuck is called the fault, and it's usually where the earthquake starts. The energy released by the moving plates travels through the Earth as waves, and these waves can cause the ground to shake and vibrate. The strength of an earthquake is measured on a scale called the Richter scale, which ranges from 1 to 10. The higher the number, the stronger the earthquake. Earthquakes can be very dangerous, and it's important to be prepared and know what to do if one happens.
I tried to use your analogy to explain it to my 5 year-old, but he only wants to talk about Fortnite, could you generate an explanation that appeals to my son?