My friends dog died, please help

Isabell

I texted her if she was okay and if she wanted to talk, but she didn’t.

He passed away today, a couple hours ago, is it appropriate to ask what happened to him?? And how do I show her that I am here for her? Also, I was wondering if me and 2 other friends could buy her some of her favourite stuff and spend the night at her house ( if that is appropriate, not today buy in a couple days ) ? If you were in that position would you want your friends to sleep over?