Messages app on Mac syncing text messages but not iMessages
The messages app on the Mac has it's own preferences. Check if you're iMessage account is set up there and has a password set – perhaps you deleted it through keychain. If that doesn't help remove it with the minus and re-add the account.