Could be a subscription issue. For example, if you have downloaded tracks and your subscription payment has expired, songs will only play for the first 15 seconds. If the subscription is not the issue but you do have downloaded songs, try redownloading/re-adding songs. You'll find this problem on forums going back many years and iOS versions, mostly relating to these points.