Understanding galaxy formation in the reionization era using the FIRE simulations