Problem with Ajax and PHP

so, i tried to built a webpage with html css jquery ajax javascript and php
the entire page runs well and when i click to a vehicle to show the comment it shows well until i click to spare parts and then click again back to browse cars
after that when i click to a car to show the comment the comment doesn’t appear

when i go to developer tools i notice that, for each car at the right it have got “event listener” and when i go to spare parts and back again to browse cars it haven’t got event listener

I think it’s something wrong with PHP and Ajax…
…so, what’s wrong with the code?

The website files