If this is in a casting, it's because of metal shrinkage. Expect to find porosity in those areas as well, since there's no feed for the metal to draw from as it cools, so it will draw from small pockets of molten metal. The fix is to add some sprues or risers there, that have a larger cross-section than exists in those intersections.