The script indicates that the doors and wall are metal. This is, apparently, something that will reflect a blaster bolt at a short distance.
Han draws his laser pistol and fires at the hatch. The laserbolt ricochets wildly around the small metal room.
Everyone dives for cover in the garbage as the bolt explodes almost on top of them. Leia climbs out of the garbage with a rather grim look on her face.
The junior novelisation, on the other hand, notes that the door and wall are magnetically sealedmagnetically sealed, and thus blaster-reflective. Quite how one magnetically seals a wall isn't described in any detail (and frankly seem to be a typo/misunderstanding on the part of the novelisation author) but there you go.
Too late. Han fired at the hatch, and the laserbolt ricocheted wildly around the metal-walled chamber. Everyone dived for cover until the fired bolt’s charge ended in a small explosion that didn’t even dent the metal wall.
...
Chewbacca turned to a wall and cowered. Despite the hazard posed by the magnetically sealed walls, Luke and Han held their blasters out, ready to fire. Han said, “It’s worse.”