Strange brake prob.

Someone explain to me how brake hoses collapse internally. I have seen this posted elsewhere and have never heard of it.