Is your MacBook acting up and you're not sure why?
A great place to start is the Apple diagnostic test.
When you run that it’ll show you if you have any hardware issues this is how you run Diagnostics on your macbook with the macbook turned off hold option + D and then press the power button still holding option. Indeed, the computer will boot into diagnostic ask you for your network you put your network in and it will begin the diagnostic.