Looks like a bad connection. Check everything is connected properly and the boot drive is connected to the first sata port on the motherboard. Sata connections can be a bit 'iffy' so make sure the plug is properly seated on the drive and mobo. Check ram and GPU card also.
Huawei Mate 20 Pro review: In-depth hands-on