something similar happened to my 4S a few days ago: my instagram would freeze for a few seconds then automatically close whenever i opened it.
i solved it by turning my phone off for a few minutes (actually power off) and then turned it back on a few minutes later and then it was fixed

maybe try this first and if the problem persists, try deleting and re-downloading the YouTube app