Sam (a human) and Treacle Tart (a pony) are...
...well, they know each other, that much seems obvious, and they're going to go to see some fireworks because it's bonfire night and that's what you do on bonfire night and Treacle's never been around for it before so hell, why not.
Gunpowder treason and etcetera.