If your bearded dragon can be seen digging at the glass of its tank, it could be experiencing feelings of intimidation and vulnerability. A bearded dragon scratching or digging at the glass is typically a tell-tale sign that the dragon wants to escape its tank. This could be the result of them feeling exposed to predators, hence the desire to escape, or a result of something encroaching on their territory. In terms of things that make them feel exposed or vulnerable, this could be down to a lack of cover in their tank, nearby pets, loud noises, or sudden movements. The reason why your dragon might feel threatened and intimidated could be down to another bearded dragon being in the room, your other pets, or simply being in too small a space. You should try your very best to work out why your bearded dragon is feeling stressed because if not dealt with correctly, they will be a lot less happy. They could also potentially hurt themselves by trying to get out of the tank.