water color

Why are plastic bottles filled with red-blue water hung on the doors or walls of the house, do dogs run away from it?

You must have seen red-blue plastic bottles filled with water on the walls of houses…