relationship fields return either an array of post IDs or an array of post objects. These cannot displayed with the_field() or echo get_sub_field(). See the documentation for the relationship field for information on how to display the value https://www.advancedcustomfields.com/resources/relationship/.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users