Question: Doing this in national parks and many other wooded areas is illegal because it harms the environment? Answer: ditching your junk.
humans discarding waste in an environment causes harm to that environment