Here's a little quote that might help explain this to those outside the US:
"If the crime happens in one state, it is typically a state crime , unless it is an expressly named federal crime. But if a crime occurs throughout many states, or crosses state lines, it often becomes a federal crime...