In APEX class we have SOQL: Case carrierList= [SELECT Id, CaseNumber, Current_Quoted_By_Carrier__c, Current_Quoted_By_Carrier__r.Name, Quoted_By_Carrier__c, Quoted_By_Carrier__r.Name FROM Case WHERE Id = :con.Id];
When we run SOQL in Workbench or Developer Console for specific recordId the Name is populated, but in APEX SOQL returns record Id, but no Name (DEBUG|Quoted by Carrier Name = null).
Case.Quoted_By_Carrier__c is a lookup on Account.