This isn't explained in the TV show, and I don't know of any explanations from other movies/series that apply here (although they might exist), so I'll attempt an answer based on the book series that the show is based on. That might allay suspicions that this was solely done as a "TV thing", at least.
Your question is really twofold: Why are the visors not opaque (when viewed from the outside), and why are there lights inside the helmet?
I found a passage in the books that seems to explain both:
The sun had moved behind the planet, so Basia's visor had lost its opacity. He activated the light inside the helmet so she'd be able to see him.
Cibola Burn, Chapter Fifty-One, page 521
Based on this, it seems clear that there are internal lights in helmets, which can be turned on and off at will. Probably with an internal button in the helmet, operated by the chin, which is how many other suit functions are manipulated:
He chinned a button in his helmet, and his body armor shot him full of amphetamines and painkillers.
Caliban's War, Chapter Twenty-Nine, page 318
And:
[…] and the huge woman, who still hadn't given her name, tapped something inside the helmet with her chin and said, "Okay. You're clear."
Caliban's War, Chapter Forty, page 445
Even the color of the internal helmet lights seem to match the ones in your example screenshots:
"Whatever you say, buddy," Amos said. His nose was bleeding again. The blood looked black in the faint blue light inside his helmet.
Caliban's War, Chapter Twenty-One, page 231
As shown in that first quote, at least some helmet visors can change their opacity based on the external light. We can see how this works:
But even through the welder's shield of darkness of the helmet, he could see the column of fire growing, hurling white vapor up until it broke free from the planet's atmosphere and became glittering crystals of ice speeding away from the gravity well like a shower of glass from a bullet-shattered window.
Cibola Burn, Chapter Twenty-Eight, page 288
And here as well – this passage is interesting, since it also seems to imply that the internal helmet lights are either absent or turned off:
Shaded from Ilus' star the polarization of her faceplate faded, and the blue glow of the airlock's LED lights illuminated the inside of her helmet. Her wide smile was clearly visible.
Cibola Burn, Chapter Forty-Three, page 440
From this, a conclusion can be reached: The helmet visors in the books can fade in and out of opacity in order to balance the wearer's need to see the outside clearly, versus their need to not go blind by looking directly at a star/explosion.
This technology might vary from suit to suit. We know that many different suits have this capability as seen above, and we also know that Martian power armor can do it (not surprising, given the level of Martian tech):
Even though there was no way the creature could see it through her helmet's darkened visor, she blew it a kiss.
Caliban's War, Chapter Fifty, page 550
But it also seems that some types of suits have permanently opaque visors, like atmosphere/environment suits:
Alex dropped from the cockpit, face hidden by his helmet, his belly unmistakable even in his atmosphere suit.
Leviathan Wakes, Chapter Forty-One, page 411
Why not have constant opaque visors in all helmets, like the real-life EVA suit you posted has? Well, transparent visors are useful so other people can see your face, both to identify you:
By the time she found the external door into the dome, there was only one other marine left with her. Gourab. Up close, she could see his face through the armored glass of his helmet.
Caliban's War, Chapter One, page 15
He was close enough now that he could see the face behind the helmet.
Cibola Burn, Chapter Twenty-Two, page 226
and communicate:
Bobbie smiled at him, though she didn't know if he could see it through her helmet.
Caliban's War, Chapter Thirty-Eight, page 422
Holden nodded inside his helmet at Kelly, then gestured for him to continue.
Leviathan Wakes, Thirteen, page 141
This brings me to Belters. Martians have the best tech, and Belters have the worst tech. We're not told much about their suits, but it's not far fetched to assume that not all of their suits are equipped with light-sensitive visors (they weld a lot in space, so welders probably have them, as exemplified in the first quote in my answer) and/or radios. Why do I assume they don't always have radios? Because…
Belter gestures
Belters have famously created a kind of language consisting of hand gestures to be used in suits, meant to convey information to other people in suits. Of course, the gestures have become so ingrained in Belter culture that they use them even outside of suits:
"We'll already have stopped," Holden said, and McDowell patted at the air with his wide, spidery hands. One of the many Belter gestures that had evolved to be visible when wearing an environment suit.
Leviathan Wakes, Chapter One, page 15
I'm not sure if this implies that no environment suits have transparent visors (like the atmosphere suit Alex is wearing in my quote above?) –
Belters usually perform EVAs in suits, so I'm not sure why they'd need an environment suit. Even if they have see-through visors, they probably can't rely on having nice suits with working internal helmet lights, and they can't rely on seeing each other's faces up close all the time. (It's relevant to note that they often don't have radios either, as when they are close to each other they press helmets together to talk through the helmets.)
For Belters, then, internal lights serve little purpose even if they have them. Non-Belters who have spent less time in suits seem to rely more on them:
Havelock shook his head again, this time in mild disbelief. If he'd been a Belter, he'd have made the gesture with his hands, so you could see it when he had an environment suit on.
Leviathan Wakes, Chapter Twelve, page 125
(Here it's important to note that Havelock is probably not used to wearing a suit at all, though.)
Just a small note, since someone in comments asked if the light could be the helmet's internal HUD (if they have HUDs): They do have HUDs, and they do illuminate slightly, but this is (as proved by the above quotes) distinct from the helmets' own internal lights. Here's a scene with a HUD:
The chief engineer bent back. The surface of his helmet glittered for a moment, the HUD taking over.
Cibola Burn, Chapter Twenty-Two, page 224