2004-Z has a shield on one side, although double shielded bearings are usually marked as Z but ordered as ZZ. The shield keeps gravel out but lets in fine sand and water, and the grease can run out freely if it gets hot. 2004-2RS has a contact seal on both sides: grease stays in and dirt/water stays out.
The contact seal has slight friction but I believe that's trivial and the benefits are worthwhile.