Huge Color Shift with High Quality Processing

BTW, what is the file 2024-07-17_13-51-21 edit original.jpg? Where does it come from? The other two are exports; your input is a NEF, but what is this large JPG? (BTW: [Friendly reminder] Limit JPEGs to maybe full HD resolution - you could have downsize it in a tool other than darktable, to avoid any processing artefacts potentially added by dt).