Stasis dermatitis causes the skin on the lower legs to become irritated. It most often happens due to a blood flow problem. Over time, it may cause the skin to have brown stains.