Can God bless people who don't know him, or don't trust him, or who don't have a personal relationship with him?
John 5 is a powerful example where Jesus does *exactly* that: he blesses and heals a disabled beggar who was initially clueless about Jesus' status as Messiah and son of God. In this passage, Jesus demonstrated his unlimited grace and mercy...indeed proving that God loves *all* people...but this was not simply a "random act of kindness": it was meant to stimulate true spiritual transformation in the man's life.
Later, the man comes to realize Jesus' true nature and purpose, and Jesus sends him away with a powerful warning: "change your life and stop sinning so that you can avoid spiritual suffering and death, which are much worse than physical suffering and death!"
Jesus performed miracles for a number of reasons: To demonstrate his power and authority; To heal and help those who are suffering; And most importantly, to demonstrate life in the New Kingdom where there is no more suffering, sickness, tears, or death. Jesus used this opportunity to illustrate all three. And these are powerful reminders that God isn't a "vending machine" designed solely to give us "freebies" when life gets tough: God intervenes in our lives to promote true spiritual transformation that has eternal consequences.