This footage shows from the Hamas side how a siege fire fight goes down. Hamas is sitting duck in a compound returning fire to the stronger equipped IDF. There are no tanks around or the remaining structure is solid enough to take a 155mill hit. If it was a stronghold, it would be more solid and better organiced and it is certainly no bunker like castle ready for a major battle.
There is a good chance that they lack an escape route, which means sitting duck, and to get away they'd need to create an exit path taking out IDF troops. The weapons appear to be very welled maintained based on the sound of reloading, chambering and solid rhythmic fire rates, they lack sights, but iron sights are just fine for distances of a few hundred meters and the soldiers or fighters appear to be well physically trained, sober and be able to handle their weapons under stress with little need for screaming comands when organising the inner positions.
If this is a sitting duck scenario than they are facing being stormed as soon as they stop exchanging fire, because they must have run out of ammo.
In siege situations most militia level trained forces tend to exchang fire like here. In Black Hawk Down you can see how Big Red One Green Berrets do something looking the same, but they actually hit per single shot one human target defending against thousand armed men and not like here against possibly only a couple of dozent even so better equipped soldiers, stretching their ammo out way longer increasing their survival time until helps comes in or they are down to Bajonette combat when the enemy storms the remaining ground to reequip with captured gear and use the chaos to escape.
Which referes to the second way out, if a tunnel is missing, someone builds an exit channel by cutting through the siege from the outside like the UN wheel tanks in Moghadishu.
Actually, it is easy. No target in sight, no shot fired, but here to the extreme, because tank engines will be heard, speakers will be used and random shots fired to have the besieged get into a fire exchange. If the random fire leaving visible muscle fire signatures in the sight creates a pattern the snipers even just using iron sights will have hits by predicting the next spot.