What causes iPod touch to freeze and require reboot?

Out of 15 or so iPod touches I have fixed, I have one that has two issues. First is it freezes up sometimes when you leave it sit or let it "sleep". When I try to wake it up, it does nothing. If I reboot it via power button + home, it boots and works fine. The second issue is related to the wifi/apps. I can load all web pages, youtube etc fine via web browser, but if I try to play any youtube videos via app or web browser it says that it can't play the video.

I have done the following to this ipod touch:

Replaced digitizer (orignal user failed to replace correctly, they sold it on ebay to me)

Select a Language:

It's time to speak out for your right to repair

Dear New Yorkers,

Right now, New York has a chance to pass the first Fair Repair bill in
the nation. We have a chance to guarantee our right to repair electronics—like
smartphones, computers, and even farm equipment. We have a chance to help
the environment and stand up for local repair jobs—the corner mom-and-pop
repair shops that keep getting squeezed out by manufacturers.

It's time to speak out for your right to repair

Massachusetts,

The people of Massachusetts have always stood up for their
right to repair. In 2012, voters passed a law that ensured
residents' right to repair their car wherever they wanted.
Now, it's time to do the same for electronics.

With the Digital Right to Repair Bill, H.3383, we have a chance
to guarantee our right to repair electronics — like smartphones,
computers, and even farm equipment. We have a chance to help
the environment and stand up for local repair jobs—the corner
mom-and-pop repair shops that keep getting squeezed out by
manufacturers.

The Digital Right to Repair Bill requires manufacturers to
provide owners and independent repair businesses with fair
access to service information, security updates, and
replacement parts.

If you agree with us, find out who represents you in the
Massachusetts legislature. Tell them you support the
bipartisan Digital Right to Repair Bill. Tell them that you
believe repair should be fair, affordable, and accessible.
Stand up for the right to repair in Massachusetts.