Foamy urine occurs when proteins like albumin are present in your urine. This can be caused by dehydration or exercise, but it can sometimes be a sign of an underlying kidney problem caused by ...