I suspect such sharing would normally be a form of theft. It's okay to give away a physical book, but to share a Kindle book means that two - and ultimately infinite numbers - of them are now in circulation while only one has been paid for. So they do have an exception for family sharing, but not as far as I know for friends, otherwise even more authors would starve.