Miners are affected by rug pulls because the digital tokens they were mining become worthless, and they incur losses on their investment in mining equipment and electricity.