The sun and the moon are not eclipsed on account of anyone's death or on account of anyone's birth. So when you see that, supplicate Allah, declare His greatness, and give alms.
أَنَّ النَّبِيَّ ﷺ قَالَ الشَّمْسُ وَالْقَمَرُ لاَ يُخْسَفَانِ لِمَوْتِ أَحَدٍ وَلاَ لِحَيَاتِهِ فَإِذَا رَأَيْتُمْ ذَلِكَ فَادْعُوا اللَّهَ ﷻ وَكَبِّرُوا وَتَصَدَّقُوا