Try the following (inside the $items for loop):
$item->jcfields = Joomla\Component\Fields\Administrator\Helper\FieldsHelper::getFields('com_content.article', $item, true);
$fields = [];
foreach ($item->jcfields as $jcfield)
{
$fields[$jcfield->name] = $jcfield;
}
Now, if you want to display all fields:
// Display all custom fields
foreach ($fields as $field)
{
?><p><?php echo $field->title; ?></p>
<p><?php echo $field->value; ?></p><?php
}
If you want to display a specific custom field:
// Display a specific custom field
<p><?php echo $fields['enter-field-alias-here']->title; ?></p>
<p><?php echo $fields['enter-field-alias-here']->value; ?></p>