England and the Netherlands, both Protestant countries, were allied in the War of the Spanish Succession against the Catholic powers of France and Spain. It was a Whig war and a Whig alliance, and Swift detested both. During Gulliver's travels to Laputa et. al., Swift takes every opportunity to blacken the reputation of the Dutch.
The Tory hatred of the Dutch derived from commercial rivalry. The Dutch tolerance of diversity in religion also undermined the Tory concept of a national church, which intensified the animosity,