So the tower controllers had responsibility for separation. Here are the current FAA rules on separation between departing and arriving aircraft using the same runway. See section 3-1-3 of [3].
This is the rule: "Separate an arriving aircraft from another aircraft using the same runway by ensuring that the arriving aircraft does not cross the landing threshold until one of the following conditions exists .... The other aircraft has departed and crossed the runway end or turned to avert any conflict. If you can determine distances by reference to suitable landmarks, the other aircraft needs only be airborne if the following minimum distance exists between aircraft: ...when either is a Category III aircraft- 6,000 feet."
The trouble is, the controller can apparently say "Cleared to land" when they expect that departing aircraft will be airborne and at least 6,000 feet down the runway, and thus out of the way, before the incoming aircraft crosses the landing threshold. Not when it actually is in the air and out of the conflict zone. Or at least in this case, the controller did. This is apparently called "reduced runway separation". The intent is to increase traffic capacity.
But this was in fog. Tower probably could not see the departing aircraft, and they did not apparently have a sensor system to compensate for that.
[1] https://skybrary.aero/articles/autonomous-runway-incursion-w...
[2] https://skybrary.aero/articles/runway-status-lights-rwsl
[3] https://www.faa.gov/air_traffic/publications/atpubs/atc_html...