Elementor requires get_header() and get_footer() to load its scripts and templates.
Add this to functions.php
use ElementorPro\Modules\ThemeBuilder\Module;
function render_elementor_header() {
if ( function_exists('elementor_theme_do_location') ) {
elementor_theme_do_location('header');