A yellow box just means no valid value input (no value, or a value <=0 or <0 (depending on the field)) and a red one means it couldn’t be calculated / NaN (Not a number). This is why resetting the values works.
The problem is that with your theme the nan is white/bright gray, which is problematic on this bright red background.
Edit:
Checked the source code. The background colour is set in TRANSLINE::setErrorLevel(), in ./pcb_calculator/transline/transline.cpp . The text/foreground colour is not set and probably depends on your theme.