Esphome with esp32 38pins and lan8720 ethernet module why loss connection?

No one can respond to that. Please read How to help us help you - or How to ask a good question, particularly point 11.

Also you didn’t respond regarding what device you are using.