Changing GameObject Tag beneath another GameObject

I am working on a game where the ground is a grid made of hexagon. There are some walls and boxes on the grid and I would like to change the tag of every hexagon who is under a wall or a box into "Obstacle".