Very suddenly, only purchased music is showing up on iPhone ( but everything is in iTunes)
It sounds like you use iTunes Match? if so, did your annual subscription run out or expire?  if so, you may need to pay the ANNUAL fee and turn the service back on.