If God punishes someone, it is not because they did not love Him. It is because they have committed iniquity.
All have sinned and fallen short of the glory of the triune God, therefore all stand condemned. And all will be judged and punished according to their deeds and what they have done with their body and in their body. God's standard is perfection. None are perfect, so all need Christ's work on the cross applied to their sin debt in order to cancel it. God is His providence reveals Himself and manifests Himself to some and to others He hides Himself. It is all up to God's sovereign prerogative.
All men know what God requires of them for He has made it known to them in that He has given everyone a conscience. Those who obey the voice of conscience and seek and pursue righteousness, God reveals Himself in ever increasing measure. Those who harden their heart to the voice of conscience, what little light they have, will be taken from them and God leaves them to their own devices and shame.
Their foolish hearts become darkened along with their minds. Such men have rejected what light they have been given and thus, they choose eternal separation from the source of the light. If God is merciful and gracious to them, He draws them. If He chooses not to, He has committed no evil or wrong in allowing them that hate the light to abide eternally in the darkness.