The reasons why a charging system light can come on when the alternator test good and is charging.
Possible Causes
Alternator Low Voltage Output or Intermittent Issue
Bad Voltage Regulator
Bad Battery Sensor
Bad Battery
Bad Wiring Connections
High Amp Load
Blown Fuse
Warning Light Malfunction or Wiring to the Indicator Light.
Bad PCM/ECM
For More Information Read Here: https://www.backyardmechanic.org/causes-and-fixes-battery-light-on-but-alternator-is-charging/
By using this information user assumes all risk of use.