Adding a second loop breaks everything

I have a page template that has the following:

<?php get_template_part( 'include', 'certifications-popular' ); ?>

Within this file, I have two loops. But having the second loop in there seems to break everything (and nothing is output from either of the loops).

Whereas if I remove the second loop, then the lines of <p>TEST</p> are output just fine:

Ignore the fact that the queries are the same, I will eventually add some if statements within the loops to display what I need in each.