wp_enqueue_script doesn’t load JS in plugin

Your code seems to be fine, so I think the problem will rather be in your theme. Are you developing your own theme too? The wp_head function calls in those files, which were hooked to wp_enqueue_scripts. It should be in the theme between the head tags, similarly as you see here:
https://developer.wordpress.org/reference/functions/wp_head/#comment-900