Obstacle preemption occurs when a state law conflicts with federal law in a way that poses an obstacle to the objectives and purposes of federal legislation, effectively rendering the state law invalid. This concept is rooted in the Supremacy Clause of the U.S. Constitution, ensuring that federal law takes precedence when state and federal laws are at odds.