Skyrim spouse trying to murder me?
Solution 1:
If you have a bounty in an area some people may try and kill you. Clear all your bounties and go back, hopefully it will have sorted itself out. On pc you can clear them with a console command.
There is some good info about bounties here
It also includes how random citizens / thugs etc can attack you due to bounty