Accessing text field with multiple values in a twig file
Both loops iterate field items, so when you name the loop variables accordingly the code should be more understandable:
{% for ref_item in node.field_references %}
  {% for text_item in ref_item.entity.field_name_of_text_field %}
    {{ text_item.value }}
  {% endfor %}
{% endfor %}