Lights generated by crafts don't cast shadows.
Steam KSP 1.11.0 + DLCs (No Mods)
The screenshot shows that light sources from a craft have the following issues:
1. They don't cast shadows via the craft they are connected to.
2. They don't cast shadows when the light contacts other crafts.
3. The light actually passes right through the craft and other crafts onto the ground