To get the featured image from relationship, you need to use:
<?php $featured_img_url = get_the_post_thumbnail_url(get_the_ID(),'medium_large'); ?>
This will grab the featured image URL from the ID, once you have the url, you can use it in img src or as an background.
Hope this helps.