For to us a child is born, to us a son is given; and the government shall be upon[a] his shoulder, and his name shall be called Wonderful Counselor, Mighty God, Everlasting Father, Prince of Peace. (Isaiah 9:6)
Firstly this prophecy is very likely not about Jesus in its initial application, and secondly the Hebrew text does not actually say “God”. In fact the Bible never clearly calls Jesus “God” in any verse.
The phrase ‘Mighty God’ is Hebrew el gibbor. Gibbor means ‘mighty in battle’. El, though usually translated ‘God’, can also refer to powerful human figures such as ‘rulers’ and ‘warriors’. In this context El Gibbor may be better translated ‘mighty warrior’ (cf. ‘in battle God-like’ [NEB]).
It is also worth remembering that this prophecy originally referred to a child born in that days of Hezekiah. If it was appropriate to have name for that child “El Gibbor” then why would it be inappropriate to apply the prophecy again to Jesus a child?
For a fully understanding of Isaiah’s Immanuel prophecies see Is Isaiah 9:6’s “Wonderful counselor” related to Isaiah 7:14 and 8:8’s “Immanuel”?