The mechanics of matrix cracking in brittle-matrix fiber composites