Why are calls logged in the calls tab but not under the contact?

Check your number formatting. The number must either use HubSpot's number formatting or, if that's disabled, the number (excluding country code) must not contain any special characters or spaces.