Speaker coils are made of copper wire, which is quite flexible and shock-resistant.
Conversely, ceramic capacitors, for an example of a component on a PCB, are made of fragile material which is not intended to be flexed. But they are attached rigidly, by solder, to a flexible board of resin-bonded fibreglass. The board and the copper tracks on it can flex without damage; the rigid components mounted to it not so much.
You can research how ceramic SMD capacitors should be aligned to minimise stresses that contribute to their failure.
However, for smacking a skateboard the wrong way on a kerb, I'd suspect an imperfect solder joint: pushed one way it could connect sufficiently, but with a bit of movement in a different direction it might no longer make good electrical contact. Another hit in another direction could move it back into contact temporarily.