The rapper's death comes several months after he ended a two-year relationship with Ariana Grande, often seen as the inspiration for his songs.