The movement of a laser pointer triggers a dog's prey drive, which means they want to chase it.
It's an unending game with no closure for the dog since they can't ever catch that beam of light, like they can when chasing a toy or food.
Dogs that exhibit behavioral issues are frustrated, confused, and anxious.