In chamber of secrets Harry gets saved by fawkes from his act of great loyalty, but in the deathly hallows Dobby shows great loyalty and his wound is by a knife so why didn’t fawkes come save Dobby
Fawkes promptly couldn't get to dobby at the time
Dobby showed loyalty to Harry, not to Dumbledore. Fawkes is only interested in loyalty to Dumbledore. Besides, he flew off after Dumbledore died.