Fixing Cracked Mortar
The thing about mortar is that it’s nothing more than a paste that hardens to bind building blocks like these bricks. They can be used to seal the irregular gas between them. But mortar doesn’t last a lifetime, which is pretty evident from this image. So this person added some more mortar and then added tape to keep the bricks from collapsing until the paste hardened.