They seem to be done using Excalidraw [0]. I'm not 100% sure about the animated one, probably excalidraw-animate [1]
[0] https://excalidraw.com/ [1] https://github.com/dai-shi/excalidraw-animate
[0] https://excalidraw.com/ [1] https://github.com/dai-shi/excalidraw-animate