Theme Customization API and child themes
There is already an answer about this question with explicable examples How do I get a parent theme modification from a child theme?. You can also check about get_theme_mod here https://developer.wordpress.org/reference/functions/get_theme_mod/