In chapter five, we see a series of rather humorous miracles.
First, the ark is taken to the temple of Dagon and left there. The following morning, Dagon's statue had fallen over, appearing to bow before the ark. Not liking this, the Philistines figure it's just an accident, and set Dagon upright again. The next morning, not only is Dagon on the ground, but his head and hands have been severed. The Philistines are apparently freaked out, and stayed out of the temple from then on.
But this is not enough. Apparently soon afterwards, many people died, and among most who did not die...yep, they were all struck with hemorrhoids. (I don't know why this triggers the "language" icon in the SAB; it is what it is!) So they take the ark and take it away from Ashdod to Gath, where the same thing happens. And again to Ekron. Death and hemorrhoids everywhere. What's a Philistine to do? Well, the situation is admittedly pretty absurd, and their response to it takes it to a new level of absurdity.