Have you ever been in such emotional pain that your heart felt like it was literally aching? The worst pain in this life is not always physical. Often times it's the emotional pain of saying "good bye" that can drive us to our knees. It can make us lash out in anger. It can make the toughest man alive break down in tears, and it can crush a young person's spirit. Why would a God of love and compassion let such a thing happen? If He cares, but He can't do anything about it, wouldn't that mean He's not all powerful? If He doesn't care, but He has the power, doesn't that mean He's cruel?
If you've got "heart pain" in your life, the best thing you can do is draw closer to God. Don't isolate yourself from the only true source of comfort and healing. Don't throw your head up to the sky, as if looking for some eye-contact with God. Rather, let your head fall to the scriptures. God will tell you that His ways are perfect, His word has been tried and tested, and He is the shield for those who decide to take refuge in Him (Psalm 18:30).
He would also tell you that if you are a righteous individual, He's going to deliver you from any trouble (Psalm 34:19). As a loving Father, God would tell you that He understands what you're going through (Isaiah 53:3). God would tell you to hang in there because while there is suffering, heartache, and pain here, there is a place prepared by Him where none of that exists (John 14:2-4). God would ask you to draw near to Him, because if you do, He will draw near to you (James 4:8).
We can't always think of the appropriate words to say when someone is going through grief, but God always knows the right thing to say and He is perfect in all His ways. Bring Christ your broken life. He'll fix it for you.