Rug pulls are illegal because they involve a developer stealing investor funds with no intention of completing a project.