Ok help me out here again.
The SSPX have priests. The priests were ordained invalidly by the Bishops in the SSPX. Only Bishops can ordain. The ordinations are valid.
But only bishops can forgive or give the permission to forgive sins. The confessions are not valid.
How is it that we have two things that a Bishop can do yet, only one is a sacrament?
It’s different uses of the word “bishop.”
Bishops (who have ministry in the Church, which excludes SSPX bishops) have the faculties to absolve by the law itself.
However, in order to grant faculties to a priest, the bishop must have an office that grants him the ability to extend faculties to a priest. Not all bishops have this.
One way to express this is by example.
There are many bishops who work at the Vatican, who are perfectly legitimate bishops (no doubt whatsoever). They have faculties to absolve by the law itself (canon 967).
However, because those bishops do not actually have any diocese (meaning that they are not Ordinaries of any diocese) they do not have the authority to extend faculties to any priests. Only a bishop who is also an Ordinary can grant faculties (although many can do so as vicars of the Ordinary aka the diocesan bishop).
Ordinations by SSPX bishops are valid, but illicit. The reason is that in order for an ordination to be valid it does not need to be licit. It’s wrong, it’s illegal, illicit, but it’s not invalid.
With regard to confession, jurisdiction (either direct or by faculties) is required for a valid absolution. See canon 966. Without jurisdiction, an attempt at absolution is not merely illicit, it’s also invalid.
Do you see the distinction?