Why does my output of get_the_ID() change after a wp_query?

Why does my output of get_the_ID() change after a wp_query?