The answer to 'why is my bee scratching sounds' is that the scratching sounds you're hearing are likely coming from carpenter bees, not honey bees. Carpenter bees are a type of solitary bee that burrow into wood to create nesting tunnels, and their tunneling activity can create a scratching or drilling sound. This is normal behavior as they establish their nests, but it can be concerning for homeowners.
Carpenter bees are generally not aggressive and their tunneling activity, while noisy, is usually not a major structural threat to your home. However, the tunnels they create can allow moisture and wood-boring insects to enter, so it's still a good idea to address an active carpenter bee infestation. The best approach is to seal up any existing tunnels and apply a pesticide treatment to prevent them from returning.