Why doesn't the federal government always intervene when the states defy its authority?

Instances when this occurs are limited. When a federal law is ignored by a state or city, it generally means that their are "party politics" at play. Or the federal government knows the law is out of date and it's a small issue that will either be fixed or done away with.