Madamecastafiore It is your responsibility to foresee any eventualities in terms of your animals and not foreseeing that fireworks may be set off on 5th November is a bit naïve regardless of the age of neighbours or pattern of previous years celebrations
No, it isn't. The Animals Act, which is strict liability, makes owners of animals liable for injury or damage caused by them. This isn't what has happened here, so isn't applicable.
In tort or delict, the Plaintiff or Pursuer has to prove that a duty of care which was owed was breached and there was a causal link. They do not have to prove their own reasonable foreseeability in avoiding danger, unless the doctrine res ipsa locquiter applies, which I believe there is no equivalent for in English law. A defence may apply, such as contributory negligence, but this isn't what you mean.
I think the habits of the neighbours are entirely relevant and indeed the location and the knowledge of the animals in the field, and if it was brought to court (which the OP has not even suggested but is relevant perhaps in the future), it would be about issues about what the reasonable man would reasonably foresse as likely to injure his neighbour. Who is, of course, those in law who are so likely to be so closely affected by their acts or omissions that they should reasonably have had them in contemplation at the time they were contemplating the act complained of. Law of nuisance is more complicated, however, I don't think its valid to say theres no possibility of a case ever occurring.
But the duty isn't on the owner here to exercise reasonable foreseeability, its the neighbour.