It's not the engine that makes the noise, it's the hydraulic power transfer unit operating. It is activated when an engine is shut down (normally during taxy in) and people usually describe it as sounding like a dog barking. It doesn't occur every flight as you don't always shut an engine down during the taxy phase.