Yes. It is patronizing, if not offensive, unless the person has confided to you, "I have type-2 diabetes." or "Bill and I are going through AA." Even then, a counseling book about their problem is the last thing a person wants for a celebratory gift. Do not give your friend a book that emphasizes your friend's flaws.
A fact book about geography would not interest a person who cares nothing about geography. If you want to give your friend a book, make it a book about something that interests him or her. Take your friend to the bookstore in the mall and let him or her pick out a book that interests him or her. Or give your friend a gift certificate from the bookstore. Or take your friend out for lunch and then a roam through the library. See what she is interested in, and buy her a new book on that subject for Christmas or her next birthday.
Or invite your friend with diabetes or pre-diabetes over, cook a meal together that you know she'd like that is in a cookbook for diabetics, and then present her with the cookbook.