A federal court will hear the case if it involves violations of federal law. These typically include if:
The case involves violations related to bankruptcy, copyright and patent law or laws at sea
A case involves some alleged offense in two or more states
A crime started in one state and proceeded across the borders into another
It is a cybercrime involving the use of the Internet
Any crime involving interstate commerce, including banks and wires