When a happy ghast is leashed to a fence it sometimes causes the tps (ticks per second) to decrease drastically as shown in the video below.
Everything slows down except for player movement. And it happens very regularly every 10 30 seconds, give or take.
This issue is being tracked at MCPE-222147.