Two-dimensional jump singularities from critical filaments in three-dimensional spectral problems