I do not see a main WP loop for the current post “The Loop” https://developer.wordpress.org/themes/basics/the-loop/
You are doing sub queries based on these fields, what type of fields are they?
On top of this I do not understand what the queries are doing or why they are being done.
Additionally, you do not have any calls to setup_postdata() or wp_reset_postdata() so your sub queries are interfering with the main WP query and this would explain why you’re not getting values when you think you should be.
When exactly are you trying to use these fields for and what is this template file trying to accomplish?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!